project(
    'fortran-lua53',
    'fortran',
    version : '0.1.0',
    license : 'ISC',
    default_options : [
        'buildtype=debugoptimized',
    ]
)

fortran_lua53_src = files(
    'src/lua.f90'
)

fortran_lua53_lib = library(
    meson.project_name(),
    sources : fortran_lua53_src,
    version : meson.project_version(),
    dependencies : [
        dependency('lua', version : '>= 5.3.0'),
    ],
    install : true,
)

fortran_lua53_inc = fortran_lua53_lib.private_dir_include()
fortran_lua53_dep = declare_dependency(
    link_with : fortran_lua53_lib,
    include_directories : fortran_lua53_inc,
)
